package com.freight.user.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;

import javax.persistence.Column;

/**
 * @author huyingtai
 */
@Data
@AllArgsConstructor
public class DriverUserVo   {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "身份证Id")
    private Long idCardId;

    @ApiModelProperty(value = "驾驶证id")
    private Long driverId;

    @ApiModelProperty(value = "行驶证Id")
    @Column(unique = true, nullable = false)
    private Long vehicleId;

    @ApiModelProperty(value = "从业资格证Id")
    private Long workId;


}